package com.wenhao.minglue;

import java.util.Scanner;

/**
 * @author Wenhao Tong
 * @create 2021-09-07 20:44
 */
public class Main3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String a = scanner.next();
        int a1 = Integer.parseInt(a.substring(0,a.indexOf('/')));
        int b1 = Integer.parseInt(a.substring('/') + 1);
        String b = scanner.next();
        int a2 = Integer.parseInt(b.substring(0,b.indexOf('/')));
        int b2 = Integer.parseInt(b.substring('/') + 1);
        int k1 = a1 / b1;
        int k2 = a2 / b2;

    }
}
